package com.ruoyi.grade.domain.dto;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户登录参数")
public class UserLoginDto {

  @ApiModelProperty(value = "用户账号", required = true)
  @NotBlank(message = "用户账号不可为空")
  private String userName;

  @ApiModelProperty(value = "密码", required = true)
  @NotBlank(message = "密码不可为空")
  private String password;

}
